﻿
<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>无溶剂复合</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <script src="~/js/layui/layui.js"></script>
    <link href="~/js/layui/css/layui.css" rel="stylesheet" />
    <link href="~/X-admin/css/xadmin.css" rel="stylesheet" />
    <script src="~/X-admin/js/jquery.min.js"></script>
    <script src="~/X-admin/js/xadmin.js"></script>
    <script src="~/js/framework/sysframework.js"></script>
    <script src="~/js/framework/commonjs.js"></script>

</head>
<body>
    <ul lay-bar="disabled" class="mWebBanner" id="mWebBanner">
        <li class="layui-nav-item" style="float:left;">
            <button id="btn-Save" type="button" name="btn_update" onclick="SavePlanGYData('dForm')" class="buttonCss">
                <i class="layui-icon" style="margin-right:3px">&#x1005;</i>保存数据
            </button>
        </li>
    </ul>
    <div id="planDiv">
    </div>
    <div class="layui-card" >
        <div class="layui-card-body" style="padding-top:1%">
            <div class="layui-card-body" id="layui-table-main">
                <table class="layui-hide" id="gxmlist" lay-filter="gxmlist"></table>
            </div>
            <form id="dForm" class="layui-form layui-col-space5" lay-filter="form-filter">

                <div class="layui-form-item">
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                           复合宽度
                        </div>
                        <input type="text" id="fhkd" name="fhkd" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                            皮轴
                        </div>
                        <input type="text" id="pz" name="pz" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                            计划米数
                        </div>
                        <input type="text" id="gxNum" name="gxNum" class="layui-input">
                    </div>

                </div>
                <div class="layui-form-item">
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            复合要求
                        </div>
                        <input type="text" id="fhyq" name="fhyq" class="layui-input" style="width:400%">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            胶水型号
                        </div>
                        <input type="text" id="jsxh" name="jsxh" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                          胶水批次号
                        </div>
                        <input type="text" id="jspch" name="jspch" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                            胶水使用克数
                        </div>
                        <input type="text" id="jssyks" name="jssyks" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                  
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            固化剂型号
                        </div>
                        <input type="text" id="ghjxh" name="ghjxh" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                           固化剂批次号
                        </div>
                        <input type="text" id="ghjpch" name="ghjpch" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                            涂胶使用克数
                        </div>
                        <input type="text" id="tjsyks" name="tjsyks" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">

                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            注意事项
                        </div>
                        <input type="text" id="fhzysx" name="fhzysx" class="layui-input" style="width:400%">
                    </div>

                </div>

                <div class="layui-form-item">

                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            成品米数
                        </div>
                        <input type="text" id="cpms" name="cpms" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:2%">
                        <div class="layui-input-prefix">
                            入固化室时间
                        </div>
                        <input type="text" id="rghssj" name="rghssj" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:2%">
                        <div class="layui-input-prefix">
                            出固化室时间
                        </div>
                        <input type="text" id="cghssj" name="cghssj" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            固化时间
                        </div>
                        <input type="text" id="ghsj" name="ghsj" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:2%">
                        <div class="layui-input-prefix">
                            内膜使用重量
                        </div>
                        <input type="text" id="nmsyzl" name="nmsyzl" class="layui-input" style="width:300%">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            剩膜重量
                        </div>
                        <input type="text" id="smzl" name="smzl" class="layui-input" style="width:400%">
                    </div>
                </div>
                <div class="layui-form-item">

                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                            涂胶辊温度
                        </div>
                        <input type="text" id="tujiaogun" name="tujiaogun" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                           复合钢辊温度
                        </div>
                        <input type="text" id="fuheganggun" name="fuheganggun" class="layui-input">
                    </div>
                
                </div>
                <div class="layui-form-item">

                    <div class="layui-input-group" style="float:left;">
                        <div class="layui-input-prefix">
                          室内温度
                        </div>
                        <input type="text" id="shineiwendu" name="shineiwendu" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:4%">
                        <div class="layui-input-prefix">
                           室内湿度
                        </div>
                        <input type="text" id="shineishidu" name="shineishidu" class="layui-input">
                    </div>
                    <div class="layui-input-group" style="float:left;margin-left:2%">
                        <div class="layui-input-prefix">
                            产品材质
                        </div>
                        <input type="text" id="cpcz" name="cpcz" class="layui-input">
                    </div>
                </div>
 
                <input type="hidden" id="plCode" name="plCode">
                <input type="hidden" id="gxCode" name="gxCode" value="WRJFH">
            </form>

            <div class="layui-card-body" id="layui-table-main">
                <table class="layui-hide" id="mplist" lay-filter="mplist"></table>
            </div>
        </div>
    </div>

</body>

</html>
<script src="~/js/sysweb/planjs.js"></script>
<script type="text/html" id="barDemo">
    <a title="详情" href="javascript:;" lay-event="view" ><i class="layui-icon">&#xe615;</i></a>
    <a title="删除" href="javascript:;" lay-event="del" ><i class="layui-icon">&#xe640;</i></a>
</script>
<script>

    var plCode = "", isRead = "0";

    $(function () {
        plCode = getUrlVariable("plCode");
        isRead = getUrlVariable("isRead");
        $("input[ name='plCode']").val(plCode);

        if (isRead == "1") {
            $('#mWebBanner').hide();
        }
        loadGyFormData(plCode, "WRJFH");
        loadZhYMaterial(plCode, "WRJFH");
        loadGxPro();
    })


    function ChooseGxProduct() {
        layer.open({
            type: 2,
            maxmin: false,
            fix: false,
            title: "选择存货",
            area: ['90%', '90%'],
            closeBtn: 1,
            shadeClose: true,
            content: "../Basic/SelectInvStock?isSingle=0",
            //关闭弹出框的回调函数，不管弹出框是手动关闭还是通过脚本进行关闭，都执行
            end: function () {

            }
        });
    }
    //存货参数获取
    function getChildPar(pars) {
        if (pars != undefined) {
            var proCodes = "";
            for (var i = 0; i < pars.length; i++) {
                proCodes += pars[i].proCode + "-" + pars[i].cBatch + ",";
            }
            proCodes = proCodes.slice(0, -1);
            let gxCode = $("input[ name='gxCode']").val();
            SaveGxMaterials(proCodes, plCode, gxCode);
        }
    }
</script>

